package cn.edu.bs.domain;

import java.util.Date;

/**
 * @author bs
 */
public class BaseDomain {

    private Date createTime = new Date();

    private Date modifyTime = new Date();

    private Boolean valid = true;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Boolean getValid() {
        return valid;
    }

    public void setValid(Boolean valid) {
        this.valid = valid;
    }

    @Override
    public String toString() {
        return "BaseEntity{" +
                "createTime=" + createTime +
                ", modifyTime=" + modifyTime +
                ", valid=" + valid +
                '}';
    }
}
